-- FETCH_RED_WANTED_MONSTER

-- 抽取红色通缉令目标怪物
-- @param user 玩家对象
return function(user)
    local dungeonId = DungeonM.getDungeonId();

    -- 根据当前所在的迷宫抽取BOSS
    local elemId = DungeonBossM.query(dungeonId, "boss_elem") or 0;
    local bossId = DungeonM.queryElement(elemId, "dbase")["class_id"] or 501;

    local baseClassId = MonsterM.query(bossId, "base_class_id");

    return baseClassId;
end

